﻿<%@ Page Title="预警消息详情" Language="C#" MasterPageFile="~/Master/MasterPage.master" AutoEventWireup="true"
    CodeBehind="MessageFinalDetailForType14.aspx.cs" Inherits="HZ.Supervise.Web.Message.MessageFinalDetailForType14" %>

<%@ Register Src="~/Common/QueryControl.ascx" TagName="QueryControl" TagPrefix="uc1" %>
<%@ Register Src="../Common/ChartControl.ascx" TagName="ChartControl" TagPrefix="uc2" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <script type="text/javascript" language="javascript">
        function ShowBillInfo() {
            window.open('../Common/SelectHospital.aspx?flag=1&AreaId=' + AreaId.value + '&AreaName=' + AreaName.value + '', 'selectReciever', 'width=800,height=700,resizable=0,scrollbars=1, status=0, toolbar=0, menubar=0');
        }
    </script>

    <div id="tabnav">
        <ul>
            <li class="active"><a href="#">消息详情</a></li>
        </ul>
    </div>
    <div class="maincon">
        <div id="note">
            详细信息
        </div>
    </div>
    <asp:GridView runat="server" ID="gvwMessageDetailList" CssClass="mainlist" AutoGenerateColumns="False"
        EmptyDataText="暂无消息！">
        <Columns>
            <asp:TemplateField HeaderText="序号">
                <ItemTemplate>
                    <%# Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex - 1)%></ItemTemplate>
                <HeaderStyle Width="30px" />
            </asp:TemplateField>
            <asp:TemplateField HeaderText="处方单名称">
                
                <ItemTemplate>
                    <a href='MessagePrescriptionDetail.aspx?pid=<%# Eval("Prescriptionid") %>'><asp:Label ID="Label1" runat="server" Text='<%# Eval("PrescriptionName") %>'></asp:Label></a>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="PHospitalName" HeaderText="医院" ReadOnly="True" />
            <asp:BoundField DataField="PAreaName" HeaderText="地区" ReadOnly="True" />
            <asp:BoundField DataField="Count" HeaderText="品规数" />
            <asp:BoundField DataField="Amount" HeaderText="处方单金额" ReadOnly="True" />
            <%--    <asp:TemplateField HeaderText="订单编号">
                <ItemTemplate>
                <a href="AreaWarningList.aspx">aaa</a>
                    <a  onclick="javascript:ShowBillInfo();"><%# Eval("BllId") %>  </a>
                </ItemTemplate>
            </asp:TemplateField>--%>
        </Columns>
    </asp:GridView>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_PageChanged"
            UrlPaging="true">
        </webdiyer:AspNetPager>
    </div>
    <div class="listctrl" style="text-align: center">
        <asp:Button ID="btnExit" CssClass="searchbtn" runat="server" Text="返回" Width="63px"
            OnClick="btnExit_Click" />
    </div>
</asp:Content>
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="head">
</asp:Content>
